package com.cs.service;

import com.cs.domain.CSCategory;
import com.cs.domain.CSFramePlan;
import com.cs.domain.vo.CSSupplierVO;
import com.cs.domain.vo.FrameLineVO;
import com.ruoyi.common.core.domain.R;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 * @Author：bbdf
 * @Package：com.cs.service
 * @Project：RuoYi-Cloud
 * @name：CSFramePlanService
 * @Date：2024-11-19 16:50
 * @Filename：CSFramePlanService
 */
public interface CSFramePlanService {
    List<CSFramePlan> getFrameworkPlan(CSFramePlan plan);

    Map getFrameworkPlanDetails(String planCode);

    Integer addFrameworkPlan(FrameLineVO frameLineVO);

    Map<String,Object> getFramePlanByPlanCode(@Param("planCode") String planCode);

    R<Integer> editFramePlan(FrameLineVO frameLineVO);

    R<List<CSCategory>> getCSType();

    R<Integer> updateStatusByCode(String planCode);

    R<Integer> allowFrameworkPlan(String planCode);

    R<List<CSSupplierVO>> getSupplierList();

    R<Integer> rejectFrameworkPlan(String plaCode);

    R<Integer> deleteFrameworkPlan(String planCode);


    public int selectFramePlanCount();
}
